Elgot Monads

نویسنده

  • Stefan Milius
چکیده

It was the idea of Calvin Elgot [4] to use Lawvere theories for the study of the semantics of recursion. He introduced iterative theories as those Lawvere theories in which every ideal morphism e : n → n+p (representing a system of recursive equations in n variables and p parameters) has a unique solution, i. e., a unique morphism e† such that the equation e† = [e†, idp] ·e holds. Elgot proved that for a finitary signature Σ the theory RΣ of rational trees over Σ is a free iterative theory on Σ. Later Stephen Bloom and Zoltan Ésik introduced iteration theories where there is an operation (−)† assigning to every morphism e as above a solution e† subject to additional axioms, see [3]. They then prove a completeness theorem stating that iteration theories axiomatize all identities valid for the least fixed point operation in domains. We recently gave an category theoretic explanation of this completeness theorem, see [2]. In fact, Bloom and Ésik had proved that the rational tree theory RΣ⊥ , where Σ⊥ is the finitary signature Σ extended by a new constant symbol ⊥, is the free iteration theory on Σ. More precisely, the forgetful functor U from the category ITh of iteration theories to the category Sgn = Set/IN has a left adjoint given by Σ 7→ RΣ⊥ . We proved that, moreover, U is monadic, and from this result one can obtain the completeness theorem mentioned before. In recent years, we have studied a category-theoretic generalization and extension of the classical work of Elgot, see [1]. We proved that for every finitary endofunctor H of a locally finitely presentable category there is a free iterative monad RH on H, and we gave a coalgebraic construction of RH . In this talk we present a generalized version of (our monadicity result for) iteration theories. We work with a base category A that is locally finitely presentable and hyper extensive, i. e., countable coproducts are disjoint and universal and, in addition, the copairing of a countable family of disjoint coproduct components is itself a coproduct component. In this setting we define the notion of an Elgot monad, viz. a finitary monad M together with an operation (−)† that assigns to any equation morphism e : X → M(X + Y ), X finitely presentable, a morphism e† : X → MY subject to certain axioms. These axioms resemble very much the axioms of iteration theories. One example of an Elgot monad is the finite power set functor. More generally, any finitary monad M is an Elgot monad on A if and only if the full subcategory of the Kleisli category AM given by the finitely presentable objects of A is traced cocartesian and the trace is uniform for all morphisms ηB · f : A → MB, where f : A → B is ∗Joint work with Jǐŕı Adámek and Jǐŕı Velebil.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Complete Elgot Monads and Coalgebraic Resumptions

Monads are extensively used nowadays to abstractly model a wide range of computational effects such as nondeterminism, statefulness, and exceptions. It turns out that equipping a monad with a (uniform) iteration operator satisfying a set of natural axioms allows for modelling iterative computations just as abstractly. The emerging monads are called complete Elgot monads. It has been shown recen...

متن کامل

Unifying Guarded and Unguarded Iteration

Models of iterated computation, such as (completely) iterative monads, often depend on a notion of guardedness, which guarantees unique solvability of recursive equations and requires roughly that recursive calls happen only under certain guarding operations. On the other hand, many models of iteration do admit unguarded iteration. Solutions are then no longer unique, and in general not even de...

متن کامل

Guarded and Unguarded Iteration for Generalized Processes

Models of iterated computation, such as (completely) iterative monads, often depend on a notion of guardedness, which guarantees unique solvability of recursive equations and requires roughly that recursive calls happen only under certain guarding operations. On the other hand, many models of iteration do admit unguarded iteration. Solutions are then no longer unique, and in general not even de...

متن کامل

Free Iterative Theories: A Coalgebraic View

Iterative algebraic theories were introduced by Calvin C. Elgot in Elgot (1975) as a concept serving the study of computation (on, say, Turing machines) at a level abstracting from the nature of external memory. The main example presented by Elgot is the theory of rational trees, that is, infinite trees that are solutions of systems of finitary iterative equations. Or, equivalently, that posses...

متن کامل

On Iteratable Endofunctors

Completely iterative monads of Elgot et al. are the monads such that every guarded iterative equation has a unique solution. Free completely iterative monads are known to exist on every iteratable endofunctor H, i. e., one with final coalgebras of all functors H( ) + X. We show that conversely, if H generates a free completely iterative monad, then it is iteratable.

متن کامل

Unguarded Recursion on Coinductive Resumptions

A pervasive challenge in programming theory and practice are feature combinations. Here, we propose a semantic framework that combines monad-based computational effects (e.g. store, nondeterminism, random), underdefined or free operations (e.g. actions in process algebra and automata, exceptions), and recursive definitions (e.g. loops, systems of process equations). The joint treatment of these...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007